Graphics.StringWidth Function
Returns as an Integer the width of the text (based on the current font and font size) in pixels.
Syntax
result = Graphics.StringWidth( Text )
Parameters
Text
String
Return Value
Result
Integer